package com.bwie.message;

import com.bwie.util.JT808Const;
import lombok.Data;

/*
通用响应包
 */

@Data
public class ServerRespCommonMessage extends BaseMessage {
    public static final byte SUCCESS = 0;//成功/确认
    public static final byte FAILURE = 1;//失败
    public static final byte MSG_ERROR = 2;//消息有误
    public static final byte UNSUPPORTED = 3;//不支持
    public static final byte ALARM_PROCESS_ACK = 4;//报警处理确认

    private short replyFlowId; //应答流水号 2字节
    private short replyId; //应答 ID  2字节
    private byte result;    //结果 1字节

    public ServerRespCommonMessage() {
        this.setMessageId(JT808Const.SERVER_RESP_COMMON);
    }
}
